/*
 * @Date: 2022-05-31 15:14:04
 * @Author: 陶子
 * @LastEditTime: 2022-07-05 11:48:21
 * @FilePath: \jk_one-stop_pc\src\views\workManagement\reportForm\materialComponents\collectColumns.js
 * @pageName: 这是--(UseCollect的配置项)--页面
 */
export let columns = [
  {
    title: '用料编号',
    align: 'left',
    ellipsis: true,
    dataIndex: 'materialCode',
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
    },
  },
  {
    title: '用料名称',
    align: 'left',
    dataIndex: 'materialName',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
    },
  },
  {
    title: '规格',
    align: 'left',
    dataIndex: 'goodsSpec',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
    },
  },
  {
    title: '分类',
    align: 'left',
    dataIndex: 'categoryText',
    ellipsis: true,
    width: 150,
  },
  {
    title: '基本单位',
    align: 'left',
    dataIndex: 'basicUnitText',
    ellipsis: true,
    width: 150,
  },
  {
    title: '净领用量',
    dataIndex: 'onlyReceivedNumText',
    ellipsis: true,
    width: 120,
    sorter: true,

  },
]
export let allColumn = [
  {
    title: '用料编号',
    align: 'left',
    ellipsis: true,
    dataIndex: 'materialCode',
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
    },
  },
  {
    title: '用料名称',
    align: 'left',
    dataIndex: 'materialName',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
    },
  },
  {
    title: '规格',
    align: 'left',
    dataIndex: 'goodsSpec',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
    },
  },
  {
    title: '分类',
    align: 'left',
    dataIndex: 'categoryText',
    ellipsis: true,
    width: 150,
  },
  {
    title: '基本单位',
    align: 'left',
    dataIndex: 'basicUnitText',
    ellipsis: true,
    width: 150,
  },
  {
    title: '净领用量',
    dataIndex: 'onlyReceivedNumText',
    ellipsis: true,
    width: 120,
    sorter: true,

  },
]

